from django.db import models


class MyUser(models.Model):
	username=models.CharField(max_length=20,unique=True)
	def __str__(self):
		return self.username


class User_contents_time(models.Model):
	contents=models.TextField(null=False)
	time=models.DateTimeField()
	username=models.ForeignKey('MyUser',on_delete=models.CASCADE)
